package com.employees.bean;

import java.sql.Blob;

import java.util.Date;


import org.apache.struts.action.ActionForm;

//import com.mysql.jdbc.Blob;

/**
 * Employeeinfo entity. @author MyEclipse Persistence Tools
 */

public class Employeeinfo extends ActionForm implements java.io.Serializable {

	// Fields

	private Integer id;
	private Employee employee;
	private Date birth;
	private String sex;
	private Blob photo;
	private String department;

	// Constructors

	/** default constructor */
	public Employeeinfo() {
	}

	/** full constructor */


	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public Employeeinfo(Integer id, Employee employee, Date birth, String sex,
			Blob photo, String department) {
		super();
		this.id = id;
		this.employee = employee;
		this.birth = birth;
		this.sex = sex;
		this.photo = photo;
		this.department = department;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public Date getBirth() {
		return this.birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}



	public Blob getPhoto() {
		return photo;
	}

	public void setPhoto(Blob photo) {
		this.photo = photo;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

}